#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/wait.h>
#include <linux/usermode_policy.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <asm/uaccess.h>
#include <linux/init.h>

asmlinkage long sys_set_cachepolicy(int policy){

	if(policy!=1||policy!=2){
		return -EINVAL;
	}
	
	printk(KERN_ALERT "%d", vm_policy);
	vm_policy = policy;
	printk(KERN_ALERT "%d", vm_policy);
	
	return 1;

}
